﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace miniCCR
{



    public abstract class Operation
    {
        static uint _WaitCondeGen = 1;

        public uint _ToID;
        public uint _ToComID;

        public uint _FromID;
        public uint _FromComID;

        public uint _WaitCode;

        public int _errorCode;

        public Operation()
        {
            _WaitCode = _WaitCondeGen++;
        }

        //public abstract bool IsWaitOP { get;  }
    }

    public abstract class Update : Operation
    {
        //public override bool IsWaitOP
        //{
        //    get { return false; }
        //}
    }


    
     

    public abstract class Get : Operation
    {

        public Proxy FromProxy = new Proxy();

        //public override bool IsWaitOP
        //{
        //    get { return true; }
        //}

    }
     



    public class Init : Update
    {

    }

    public class AddObject : Update
    {
        public GObject _Obj;
    }


    public class Create : Update
    {

    }





}
